package nodes

import "time"

type Delay struct {
	Time int
}

func (node *Delay) Handle() (int, error) {
	time.Sleep(time.Duration(node.Time) * time.Millisecond)
	return 0, nil
}
